package com.liming.common.pojo.dto.product;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liming
 * @date 2025/1/15
 */
@Data
@Schema(description = "新增品牌参数")
public class AddCategoryDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "分类图片", requiredMode = Schema.RequiredMode.REQUIRED)
    private String image;

    @Schema(description = "父级分类ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long parentId;

    @Schema(description = "分类层级", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer level;



}
